﻿@page "/layout-demo/{text?}"
@layout PageLayout
@attribute [TabItemOption(Text = "示例网页", Icon = "fa fa-fw fa-laptop")]

<p>已支持路由参数: @Text</p>

<div>
    精彩从这里开始
</div>


@code {
    [CascadingParameter]
    private Tab? TabSet { get; set; }

    [CascadingParameter]
    private Layout? Layout { get; set; }

    [Parameter]
    public string? Text { get; set; }
}
